

package org.tailor

/**
 *
 * @author Nguyen Hoang Minh
 */
class LoginClient {
  String login
  String password
  String name
  //String myname 
  
    static constraints = {
    login(unique:true)
    password(password:true)
    name()
  }
  
  static hasMany = [comment:Comment]
  
  
  
  String toString(){
    name
  }
}
